<%--
  Created by IntelliJ IDEA.
  User: mym
  Date: 2020/12/8
  Time: 14:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>

<html>
<head>
    <title>Title</title>
</head>
<body>
<%
String error=request.getParameter("error");
if("1".equals(error)){
    out.println("用户名不能为空！");
}else if("2".equals(error)){
    out.println("密码不能为空！");
}else{
    out.println("用户名或密码错误！");
}
%>
</body>
</html>
